package org.jeecg.modules.demo.oa.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * @Description: 合同部门审批
 * @Author: jeecg-boot
 * @Date:   2024-09-11
 * @Version: V1.0
 */
@ApiModel(value="oa_hetong_shenpi对象", description="合同部门审批")
@Data
@TableName("oa_hetong_shenpi")
public class OaHetongShenpi  extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**审批节点*/
	@Excel(name = "审批节点", width = 15)
    @ApiModelProperty(value = "审批节点")
    private java.lang.Integer jiedianOrdinal;
	/**审批节点名称*/
	@Excel(name = "审批节点名称", width = 15)
    @ApiModelProperty(value = "审批节点名称")
    private java.lang.String jiedianName;
	/**审批负责人*/
	@Excel(name = "审批负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "审批负责人")
    private java.lang.String jiedianLeader;
	/**审批结果*/
	@Excel(name = "审批结果", width = 15, dicCode = "shenpi_status")
    @ApiModelProperty(value = "审批结果")
    private java.lang.String signResult;
	/**审批意见*/
	@Excel(name = "审批意见", width = 15)
    @ApiModelProperty(value = "审批意见")
    private java.lang.String signYijian;
	/**审批时间*/
	@Excel(name = "审批时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审批时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date signTime;
	/**第二次审批结果*/
	@Excel(name = "第二次审批结果", width = 15, dicCode = "shenpi_status")
    @ApiModelProperty(value = "第二次审批结果")
    private java.lang.String signResult2;
	/**第二次审批意见*/
	@Excel(name = "第二次审批意见", width = 15)
    @ApiModelProperty(value = "第二次审批意见")
    private java.lang.String signYijian2;
	/**第二次审批时间*/
	@Excel(name = "第二次审批时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "第二次审批时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date signTime2;
	/**审批日志*/
	@Excel(name = "审批日志", width = 15)
    @ApiModelProperty(value = "审批日志")
    private java.lang.String shenpiLog;
	/**合同主键*/
    @ApiModelProperty(value = "合同主键")
    private java.lang.String hetongId;

    @TableField(exist = false)
    private Map<String, Object> params;
}
